FROM node:20.18.0-alpine AS builder

WORKDIR /app

COPY package*.json ./

RUN npm i 

COPY . .


# RUN npm run build 

# FROM nginx:1.25-alpine

# COPY nginx.conf /etc/nginx/nginx.conf
# COPY --from=builder /app/dist /usr/share/nginx/html

EXPOSE 80

CMD ["npm", "run", "dev"]
# CMD ["nginx", "-g", "daemon off;"]